package com.cus.rac.ptcs.generatelevellist;

import com.teamcenter.rac.aif.AbstractAIFCommand;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.common.actions.AbstractAIFAction;

public class GenerateLevelListAction extends AbstractAIFAction{
private AbstractAIFUIApplication application;
	
	public GenerateLevelListAction(AbstractAIFUIApplication app, String s) {
		super(app, s);
		application = app;
	}
	
	@Override
	public void run() {
		// TODO Auto-generated method stub
		
		AbstractAIFCommand command = new GenerateLevelListCommand(parent, application);
		try {
			command.executeModal();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
